package com.rmy.queue.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rmy.common.annotation.Excel;
import com.rmy.common.core.domain.BaseEntity;

/**
 * 预约配置对象 qms_booking_setting
 *
 * @author rmy
 * @date 2022-10-27
 */
public class QmsBookingSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约配置ID */
    private Long id;

    /** 预约名称 */
    @Excel(name = "预约名称")
    private String bookingName;

    /** 状态(0:启用1禁用) */
    @Excel(name = "状态(0:启用1禁用)")
    private String status;

    /** 可预约天数 */
    @Excel(name = "可预约天数")
    private int avaliableDays;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBookingName(String bookingName)
    {
        this.bookingName = bookingName;
    }

    public String getBookingName()
    {
        return bookingName;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookingName", getBookingName())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public int getAvaliableDays() {
        return avaliableDays;
    }

    public void setAvaliableDays(int avaliableDays) {
        this.avaliableDays = avaliableDays;
    }
}
